package com.inxedu.os.edu.service.teacher;

import com.inxedu.os.edu.pojo.EduTeacher;
import com.inxedu.os.edu.pojo.QueryTeacher;

import java.util.List;

public interface TeacherService {
    /**
     * 查询教师列表
     */
    public List<EduTeacher> selectTeacherList(QueryTeacher queryTeacher);

    /**
     * 根据id查询教师列表信息
     */
    public EduTeacher getTeacherById(int id);
    /**
     * 修改讲师信息
     */
    public int updateTeacher(EduTeacher teacher);

    /**
     * 删除教师信息
     */
    public int deleteTeacherById(int id);

    /**
     * 添加教师信息
     */
    public int addTeacher(EduTeacher teacher);
}
